﻿@import "../_theme";

#company-mgr{
    height:100%;
}

#cm-searchbox {
    float: right;
    margin: 0;

    & > input {
        width: 30rem;
        height: 3rem;
        line-height: 3rem;
    }

    & > .input-after {
        height: 3rem;
        line-height: 3rem;
        padding: 0 1rem;
    }
}

#company-list {
    margin-top: 2rem;
    height:50%;
    min-height:40rem;
    overflow:auto;
    & > li {

        & > .lv-info {

            &.Pending{
                color:$ClrImportant;
            }

            &.Completed{
                color:$ClrOk;
            }

            &.Aborted{
                color:$ClrErr;
            }
        }

        & img {
            width: 4rem;
            height: 4rem;
            margin: 1rem 0;
            //border-radius: 2rem;
            //border: 2px solid white;
        }
    }
}

.lv-empty {
    & > span {
        display: inline-block;
        height: 96px;
        width: 96px;
        background-image: url(/UI/imgs/icon-tags.png);
        background-repeat: no-repeat;
        background-position: -444px -115px;
    }
}

#company-view {
    width: 40rem;
    padding:1rem;
}
.v-companyview {
    width: 100%;
    padding-bottom: $HeadHeight;

    & > .row {
        margin-bottom: 1rem;

        & > h4 {
            color: $ClrTheme;
        }
    }
}

#vcc-companyinfo {
    padding:1rem;

    &.Pending {
        border: 1px solid $ClrFocus;
        background-color: lighten($ClrFocus,30);
    }

    &.Aborted {
        border: 1px solid $ClrImportant;
        background-color: lighten($ClrImportant,30);

        & > h4 {
            color: $ClrImportant;
        }
    }

    &.Completed {
        border: 1px solid $ClrTheme;
        background-color: lighten($ClrTheme,30);
    }
}

#vcc-approve-bgn {
    position: absolute;
    top: 4rem;
    right: 2rem;
}

#vcc-logo{
    width:6rem;
    height:6rem;
}

#vcc-name{
    border-bottom:1px dashed;
}


#vc-approve-editor {
    margin-bottom: 1rem;
    width: 60rem;

    & .Txt-Item {
        margin: 2rem 0;
    }
}

#vcc-approve-licencepic {
    text-align: right;

    & > img {
        width: 100%;
    }
}

.vcc-approve-slct {
    display: inline-block;
    width: 14rem;
    height: 6rem;
    padding: .5rem;
    line-height: 2.5rem;
    border: 2px solid;
    cursor: pointer;

    & > i {
        position: absolute;
        bottom: 0;
        right: 0;
        color: white;
        z-index: -1;
    }

    &.pass {
        &.slcted {
            border-color: $ClrTheme;
            background-color: transparent;
            color: $ClrTheme;

            &:after {
                content: '';
                position: absolute;
                bottom: 0;
                right: 0;
                width: 0px;
                height: 0px;
                border-right: 1rem solid $ClrTheme;
                border-bottom: 1rem solid $ClrTheme;
                border-left: 1rem solid transparent;
                border-top: 1rem solid transparent;
            }
        }

        & > i {
            z-index: 2;
        }
    }

    &.reject {
        &.slcted {
            border-color: $ClrImportant;
            background-color: transparent;
            color: $ClrImportant;

            &:after {
                content: '';
                position: absolute;
                bottom: 0;
                right: 0;
                width: 0px;
                height: 0px;
                border-right: 1rem solid $ClrImportant;
                border-bottom: 1rem solid $ClrImportant;
                border-left: 1rem solid transparent;
                border-top: 1rem solid transparent;
            }
        }

        & > i {
            z-index: 2;
        }
    }
}

#vcc-approve-reason {
    width: 100%;
    height: 8rem;
    margin: 10px 0;
}